package com.gangquan360.smartadmin.module.order.saleorder.domain.dto;
import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * [ 销售订单表 ]
 *
 * @author wiggin
 * @version 1.0
 * @company wiggin
 * @copyright (c) 2018 wigginInc. All rights reserved.
 * @date 2019/3/27 0027 下午 12:27
 * @since JDK1.8
 */
@Data
public class SaleOrderDTO {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderDate;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("订单总金额")
    private BigDecimal orderTotalAmount;

    @ApiModelProperty("订单产品总数量")
    private Integer orderProductNum;

    @ApiModelProperty("付款方式,1.电汇,2承兑")
    private Integer payType;

    @ApiModelProperty("付款条件,1货到付款,2款到发货,3月结1月,4月结2月,5月结3月")
    private Integer payCondtion;

    @ApiModelProperty("交货地点")
    private String deliveryPlace;

    @ApiModelProperty("交货方式")
    private String deliveryType;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("内部备注")
    private String innerRemark;

    @ApiModelProperty("客户id")
    private Long customerId;

    @ApiModelProperty("客户全称")
    private String customerName;

    @ApiModelProperty("客户联系信息")
    private String customerConnectInfo;

    @ApiModelProperty("客户联系地址")
    private String customerAddress;

    @ApiModelProperty("客户传真")
    private String customerFaxNumber;

    @ApiModelProperty("创建人")
    private Integer createUser;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改人")
    private Integer updateUser;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
